package com.ruoyi.project.express.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 物流单号对象 express_order
 * 
 * @author lindor
 * @date 2020-04-07
 */
public class ExpressOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long orderId;

    /** 商家编码 */
    @Excel(name = "商家编码")
    private String partnerCode;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String orderNo;

    /** 物流状态 */
    @Excel(name = "物流状态")
    private String orderStatus;

    /** 最新订阅时间 */
    @Excel(name = "最新订阅时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastRequestTime;

    /** 最新物流推送时间 */
    @Excel(name = "最新物流推送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastCallbackTime;

    /** 物流信息 */
    private String orderLogics;

    /** 物流单号状态（0正常 1停用） */
    private String status;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setPartnerCode(String partnerCode) 
    {
        this.partnerCode = partnerCode;
    }

    public String getPartnerCode() 
    {
        return partnerCode;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setLastRequestTime(Date lastRequestTime) 
    {
        this.lastRequestTime = lastRequestTime;
    }

    public Date getLastRequestTime() 
    {
        return lastRequestTime;
    }
    public void setLastCallbackTime(Date lastCallbackTime) 
    {
        this.lastCallbackTime = lastCallbackTime;
    }

    public Date getLastCallbackTime() 
    {
        return lastCallbackTime;
    }
    public void setOrderLogics(String orderLogics) 
    {
        this.orderLogics = orderLogics;
    }

    public String getOrderLogics() 
    {
        return orderLogics;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("partnerCode", getPartnerCode())
            .append("orderNo", getOrderNo())
            .append("orderStatus", getOrderStatus())
            .append("lastRequestTime", getLastRequestTime())
            .append("lastCallbackTime", getLastCallbackTime())
            .append("orderLogics", getOrderLogics())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
